package cn.dac;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ListenerApplication /*implements ServletContextInitializer*/{

    public static void main(String[] args){
        SpringApplication.run(ListenerApplication.class,args);
    }

    /*@Override
    public void onStartup(ServletContext servletContext) throws ServletException {
              // 配置监听器
        servletContext.addListener(new ListenerTest());
    }*/
}
